home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:DispMod.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODDispatchModule_h
- #define SOM_ODDispatchModule_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODDispatchModule
- #define ODDispatchModule SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODSession
- #define ODSession SOMObject
- #endif /* ODSession */
-
- /*
- * End of user-defined types.
- */
-
- #define ODDispatchModule_MajorVersion 0
- #define ODDispatchModule_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODDispatchModuleNewClass c
- #define ODDispatchModuleClassData d
- #define ODDispatchModuleCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODDispatchModule_classObj ODDispatchModuleClassData.classObject
- #define _ODDispatchModule ODDispatchModule_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODDispatchModuleNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODDispatchModuleClassDataStructure {
- SOMAny *classObject;
- somMToken InitDispatchModule;
- somMToken Dispatch;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODDispatchModuleGetClassData ( void );
- # undef ODDispatchModuleClassData
- # define ODDispatchModuleClassData (*ODDispatchModuleGetClassData())
- #else
- ODDispatchModuleClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODDispatchModuleCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODDispatchModuleCClassData;
-
- /*
- * New and Renew macros for ODDispatchModule
- */
- #define ODDispatchModuleNew() \
- ( ( ! (ODDispatchModuleClassData.classObject) && \
- (ODDispatchModuleNewClass(ODDispatchModule_MajorVersion, ODDispatchModule_MinorVersion)) ), \
- (_somNew(ODDispatchModuleClassData.classObject)) )
- #define ODDispatchModuleRenew(buf) \
- ( _somRenew(ODDispatchModuleClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODDispatchModule_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODDispatchModule_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * Override method: Purge
- */
- #define ODDispatchModule_Purge(somSelf,ev,size) \
- ODObject_Purge(somSelf,ev,size)
-
- /*
- * New Method: InitDispatchModule
- */
- typedef void (SOMLINK *somTD_ODDispatchModule_InitDispatchModule)(ODDispatchModule *somSelf, Environment *ev,
- ODSession* session);
- #define somMD_ODDispatchModule_InitDispatchModule "::ODDispatchModule::InitDispatchModule"
- #define ODDispatchModule_InitDispatchModule(somSelf,ev,session) \
- (SOM_Resolve(somSelf, ODDispatchModule, InitDispatchModule) \
- (somSelf,ev,session))
- #ifndef SOMGD_InitDispatchModule
- #if (defined(_InitDispatchModule) || defined(__InitDispatchModule))
- #undef _InitDispatchModule
- #undef __InitDispatchModule
- #define SOMGD_InitDispatchModule 1
- #else
- #define _InitDispatchModule ODDispatchModule_InitDispatchModule
- #endif /* _InitDispatchModule */
- #endif /* SOMGD_InitDispatchModule */
-
- /*
- * New Method: Dispatch
- */
- typedef ODBoolean (SOMLINK *somTD_ODDispatchModule_Dispatch)(ODDispatchModule *somSelf, Environment *ev,
- ODEventData* event);
- #define somMD_ODDispatchModule_Dispatch "::ODDispatchModule::Dispatch"
- #define ODDispatchModule_Dispatch(somSelf,ev,event) \
- (SOM_Resolve(somSelf, ODDispatchModule, Dispatch) \
- (somSelf,ev,event))
- #ifndef SOMGD_Dispatch
- #if (defined(_Dispatch) || defined(__Dispatch))
- #undef _Dispatch
- #undef __Dispatch
- #define SOMGD_Dispatch 1
- #else
- #define _Dispatch ODDispatchModule_Dispatch
- #endif /* _Dispatch */
- #endif /* SOMGD_Dispatch */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODDispatchModule_InitObject ODObject_InitObject
- #define ODDispatchModule_IsInitialized ODObject_IsInitialized
- #define ODDispatchModule_HasExtension ODObject_HasExtension
- #define ODDispatchModule_GetExtension ODObject_GetExtension
- #define ODDispatchModule_ReleaseExtension ODObject_ReleaseExtension
- #define ODDispatchModule_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODDispatchModule_somFree SOMObject_somFree
- #define ODDispatchModule_somGetClass SOMObject_somGetClass
- #define ODDispatchModule_somGetClassName SOMObject_somGetClassName
- #define ODDispatchModule_somGetSize SOMObject_somGetSize
- #define ODDispatchModule_somIsA SOMObject_somIsA
- #define ODDispatchModule_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODDispatchModule_somRespondsTo SOMObject_somRespondsTo
- #define ODDispatchModule_somDispatchV SOMObject_somDispatchV
- #define ODDispatchModule_somDispatchL SOMObject_somDispatchL
- #define ODDispatchModule_somDispatchA SOMObject_somDispatchA
- #define ODDispatchModule_somDispatchD SOMObject_somDispatchD
- #define ODDispatchModule_somDispatch SOMObject_somDispatch
- #define ODDispatchModule_somClassDispatch SOMObject_somClassDispatch
- #define ODDispatchModule_somPrintSelf SOMObject_somPrintSelf
- #define ODDispatchModule_somDumpSelf SOMObject_somDumpSelf
- #define ODDispatchModule_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODDispatchModule_h */
-